package com.erp.erp_entitys.warehouse.rsp;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName : ImportPurchaseSampleRsp
 * @Description : 资源样品导采购样品出参实体
 * @Author : lst
 * @Date: 2022-07-13 03:52
 */
public class ImportPurchaseSampleRsp implements Serializable {
    private static final long serialVersionUID = 5365364423185764604L;

    /**
     * 采购主表id
     */
    private Integer id;

    /**
     * 采购单号
     */
    private String purchaseNo;

    /**
     * 供应商名称
     */
    private String supplierName;

    /**
     * 币种
     */
    private String currency;

    /**
     * 业务员
     */
    private String salesmanName;

    /**
     * 业务员编码
     */
    private String salesmanCode;

    /**
     * 操作员
     */
    private String operationName;

    /**
     * 操作员编码
     */
    private String operationCode;

    /**
     * 采购样品数量
     */
    private BigDecimal amount;

    /**
     * 资源样品已登记数量
     */
    private BigDecimal usedAmount;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPurchaseNo() {
        return purchaseNo;
    }

    public void setPurchaseNo(String purchaseNo) {
        this.purchaseNo = purchaseNo;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getSalesmanName() {
        return salesmanName;
    }

    public void setSalesmanName(String salesmanName) {
        this.salesmanName = salesmanName;
    }

    public String getSalesmanCode() {
        return salesmanCode;
    }

    public void setSalesmanCode(String salesmanCode) {
        this.salesmanCode = salesmanCode;
    }

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public String getOperationCode() {
        return operationCode;
    }

    public void setOperationCode(String operationCode) {
        this.operationCode = operationCode;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getUsedAmount() {
        return usedAmount;
    }

    public void setUsedAmount(BigDecimal usedAmount) {
        this.usedAmount = usedAmount;
    }


    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ImportPurchaseSampleRsp").append('[')
                .append("id=")
                .append(id)
                .append(",purchaseNo=")
                .append(purchaseNo)
                .append(",supplierName=")
                .append(supplierName)
                .append(",currency=")
                .append(currency)
                .append(",salesmanName=")
                .append(salesmanName)
                .append(",salesmanCode=")
                .append(salesmanCode)
                .append(",operationName=")
                .append(operationName)
                .append(",operationCode=")
                .append(operationCode)
                .append(",amount=")
                .append(amount)
                .append(",usedAmount=")
                .append(usedAmount)
                .append(']');
        return sb.toString();
    }
}
